﻿<controls:ChildWindow xmlns:my="clr-namespace:SLControls.Controls;assembly=SLControls"  x:Class="VAdvantage.Dialogs.RecordInfo"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
            
           Title="RecordInfo"  mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" d:DesignHeight="198" d:DesignWidth="420">
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition Height="*" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
                          
        </Grid.RowDefinitions>
        
        <my:VLabel  Height="Auto" HorizontalAlignment="Stretch" Margin="2" Name="lblInfo" VerticalAlignment="Stretch" Width="Auto" Content=" " />
        <!--<ScrollViewer Grid.Row="1" Height="130" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" Visibility="Collapsed" Name="scroll">-->
        <my:VDataGrid  Height="130"  Grid.Row="1" Margin="2" Name="dgrvData"  AutoGenerateColumns="False" Visibility="Collapsed" HorizontalAlignment="Stretch" />
        <!--</ScrollViewer>-->
        <my:VImage  Grid.Row="2" Height="35" HorizontalAlignment="Right" Margin="5,5,0,0" Name="btnOk" VerticalAlignment="Stretch" Width="35" Icon="/VAdvantage;component/Images/right_up.png" Click="btnOk_Click" />
    </Grid>
</controls:ChildWindow>